package com.ruoyi.repairDoor.mapper;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.HouseRepairCheckT;
import com.ruoyi.repairDoor.domain.HouseRepairDoorT;

import java.util.List;

/**
 * 户资金修改Mapper接口
 *
 * @author tyq
 * @date 2023-05-24
 */
public interface HouseRepairDoorTMapper
{
    /**
     * 查询户资金修改
     *
     * @param doorId 户资金修改主键
     * @return 户资金修改
     */
    public HouseRepairDoorT selectHouseRepairDoorTByDoorId(Long doorId);
    public HouseRepairDoorT getProjectAreaName(String projectId);

    /**
     * 查询户资金修改列表
     *
     * @param houseRepairDoorT 户资金修改
     * @return 户资金修改集合
     */
    public List<HouseRepairDoorT> selectHouseRepairDoorTList(HouseRepairDoorT houseRepairDoorT);

    public List<HouseRepairDoorT> selectHouseRepairTListByHouseId(String houseId);

    public HouseRepairDoorT selectHouseRepairDoorSum(HouseRepairDoorT houseRepairDoorT);
    /**
     * 新增户资金修改
     *
     * @param houseRepairDoorT 户资金修改
     * @return 结果
     */
    public int insertHouseRepairDoorT(HouseRepairDoorT houseRepairDoorT);

    /**
     * 修改户资金修改
     *
     * @param houseRepairDoorT 户资金修改
     * @return 结果
     */
    public int updateHouseRepairDoorT(HouseRepairDoorT houseRepairDoorT);

    /**
     * 删除户资金修改
     *
     * @param doorId 户资金修改主键
     * @return 结果
     */
    public int deleteHouseRepairDoorTByDoorId(Long doorId);

    public HouseRepairDoorT selectRepairQuery(HouseRepairDoorT houseRepairDoorT);

    /**
     * 批量删除户资金修改
     *
     * @param
     * @return 结果
     */
    public int deleteRepairT(HouseRepairDoorT houseRepairDoorT);

    public int updateProjectForTrueMoney(HouseProjectT projectVO);

    public int updateRepair(HouseRepairDoorT vo);
    public int getRepairId();


    public int insertRepairCheck(HouseRepairCheckT houseRepairCheckO);

    public int updateProjectMoneyForCheck(HouseProjectT houseProjectT);

    public int updateRepairMoneyForCheck(HouseRepairDoorT houseRepairDoorT);


    public HouseRepairDoorT selectHouseProjectTByProjectId(HouseRepairDoorT houseRepairDoorT);
    public HouseRepairDoorT getRepairDetail(HouseRepairDoorT houseRepairDoorT);
}
